package com.ss.whisper2.pojo.entity.course;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
@Alias("Course")
public class Course implements Serializable {
	private Integer id;
	private String name;
	private Property property;
	private int amount;
	private int rest;
	private int day;
	private int time;
	private int version;
	private int credit;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Property getProperty() {
		return property;
	}

	public void setProperty(Property property) {
		this.property = property;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public int getRest() {
		return rest;
	}

	public void setRest(int rest) {
		this.rest = rest;
	}

	public int getDay() {
		return day;
	}

	public void setDay(int day) {
		this.day = day;
	}

	public int getTime() {
		return time;
	}

	public void setTime(int time) {
		this.time = time;
	}

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	public int getCredit() {
		return credit;
	}

	public void setCredit(int credit) {
		this.credit = credit;
	}

	@Override
	public String toString() {
		return "Course{" +
				"id=" + id +
				", name='" + name + '\'' +
				", property=" + property +
				", amount=" + amount +
				", rest=" + rest +
				", day=" + day +
				", time=" + time +
				", version=" + version +
				", credit=" + credit +
				'}';
	}
}
